package com.jdrx.ocp.beans.dto.dept;

import com.jdrx.platform.commons.rest.beans.dto.PageBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author: Huangxg
 * @Date: 2018/11/20 14:46
 */
@ApiModel(value = "部门查询DTO" , description = "用于部门查询的DTO")
public class QueryDeptDTO {

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "上级部门ID，顶级为0")
    private Integer pId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }
}
